package com.springbootbase;

import com.springbootbase.bean.Person;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

@RunWith(SpringRunner.class)
@SpringBootTest(classes = SpringbootApplication.class)
public class SpringbootTestApplication {

    @Autowired
    private Person person;

    @Test
    public void autowiredValue(){
        System.out.println(person);
    }

}
